package org.ctd.springframework.beans.factory.config;

import org.ctd.springframework.beans.factory.BeanFactory;
import org.ctd.springframework.beans.factory.HierarchicalBeanFactory;

/**
 * ConfigurableBeanFactory
 * 提供配置 Factory 各种方法
 *
 * @author chentudong
 * @time 2019/3/24 21:19
 */
public interface ConfigurableBeanFactory extends HierarchicalBeanFactory {
    /**
     * set 父工厂
     *
     * @param parentBeanFactory parentBeanFactory
     * @throws IllegalStateException IllegalStateException
     */
    void setParentBeanFactory(BeanFactory parentBeanFactory) throws IllegalStateException;
}
